
import json
import os

path = "./大学录取分数"

for file in os.listdir(path):

    with open(os.path.join(path, file), 'r+', encoding="utf-8") as fp:
        data = json.load(fp)

    with open(os.path.join("save", file), 'w+', encoding="utf-8") as fp:
        json.dump(data, fp, ensure_ascii=False)
